package com.tim.app.server.result;

import java.util.List;

/**
 * Created by wdy on 2017/8/24.
 */

public class RedbagListBean {

    /**
     * code : 10000
     * message : success
     * res : {"arraylist":[{"createTime":1503558044000,"deleted":0,"enableTime":1503558044000,"id":37,"isEnable":"no","money":1,"type":"invitation","updateTime":1503558044000,"userId":1000539},{"createTime":1503558035000,"deleted":0,"enableTime":1503558035000,"id":35,"isEnable":"no","money":1,"type":"invitation","updateTime":1503558035000,"userId":1000539}]}
     * total : 2
     */

    private String code;
    private String message;
    private ResBean res;
    private int total;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResBean getRes() {
        return res;
    }

    public void setRes(ResBean res) {
        this.res = res;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public static class ResBean {
        private List<ArraylistBean> arraylist;

        public List<ArraylistBean> getArraylist() {
            return arraylist;
        }

        public void setArraylist(List<ArraylistBean> arraylist) {
            this.arraylist = arraylist;
        }

        public static class ArraylistBean {

            /**
             * createTime : 1503558044000
             * deleted : 0
             * enableTime : 1503558044000
             * id : 37
             * isEnable : no
             * money : 1.0
             * type : invitation
             * updateTime : 1503558044000
             * userId : 1000539
             */

            private long createTime;
            private int deleted;
            private long enableTime;
            private int id;
            private String isEnable;
            private double money;
            private String type;
            private long updateTime;
            private int userId;

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getDeleted() {
                return deleted;
            }

            public void setDeleted(int deleted) {
                this.deleted = deleted;
            }

            public long getEnableTime() {
                return enableTime;
            }

            public void setEnableTime(long enableTime) {
                this.enableTime = enableTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getIsEnable() {
                return isEnable;
            }

            public void setIsEnable(String isEnable) {
                this.isEnable = isEnable;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }
        }
    }
}
